package scjp.preparation.datastructure;

import java.util.LinkedList;
import java.util.Queue;

public class QueueTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Queue<String> q = new LinkedList<String>();
		
		q.add("Yev");
		q.add("Dina");
		q.add("Sophie");
		
		while(!q.isEmpty()) {
			System.out.println("Removing + " + q.remove());
		}
	}

}
